package com.cy.service;

import com.cy.pojo.SysUser;
import com.github.pagehelper.PageInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface SysUserService {
    PageInfo<List<SysUser>> selectSysUser(String username);

    int userDisable(Integer id,Integer valid,String modifiedUser);

    SysUser selectById(Integer id);

    int updateUser(SysUser sysUser);

    int insertUser(SysUser sysUser);
}
